<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			h1{
				text-align: center;
			}
			
		</style>
	</head>
	<body>
		<h1>万达影院</h1>
		<div>
				<table align="center">
					<script>
						for(i=1;i<=4;i++)
						{
							document.write("<tr height=70>")
							for(j=1;j<=10;j++)
							{
								//输出格子
								if(i==1 && j==6)
								{
								document.write("<td align='center' width='80' background='yes.png'>售出</td>")	
								}
								else if(i==3 && j==9)
								{
									document.write("<td align='center' width='80' background='yes.png'>售出</td>")
								}
								else
								{
								document.write("<td align='center' width='80' background='no.png'>"+i+"排"+j+"坐"+"</td>")
								}
							}
							document.write("</tr>")
						}
					</script>
				</table>
			</div>
	</body>
</html>
